package com.nondo.dean.order.common;

/**
 * 订单流程业务提示
 * 
 * @author nondo
 * @date 2018年4月16日
 */
public class OrderTip {
    // 校验提示
    public static final String STOCK_NOT_ENOUGH = "库存不足";
    public static final String PRODUCT_NOT_EXIST = "产品不存在";
    public static final String TOTAL_AMOUNT_WRONG = "金额合计错误";
    public static final String YOU_NOT_PERMISSIONS = "只有对应的接单员才能修改";
    public static final String STRING_CHARACTER_NULL = "";
    public static final String STRING_MESSAGE_ALERT = "MSG_ERR";
    public static final String ERROR_NOT_READ = "错误: 未读取到SAP订单号或客户编号,无法显示状态!";
    public static final String ERROR_YOU_ORDER = "错误: 只能查看自己的采购订单状态!";
    public static final String ERROR_BUSINESS_NOT = "事业部代码检查不通过!";
    public static final String ERROR_PLEASE_ORDER = "错误: 请输入要传入的订单编号!";
    public static final String ERROR_BUSINESS_MULTI = " 错误: 这个订单的事业部代码为空或明细项存在多个事业部订单!";
    public static final String ERROR_ORDER_NOT = " 错误: 这个订单在系统不存在!";
    public static final String ERROR_ORDER_DELET = " 错误: 订单已被删除!";
    public static final String ERROR_ORDER_INTRODUCTION = " 错误: 订单已传输到SAP中,不能再次传入!";
    public static final String ERROR_ORDER_DETAIL = " 错误: 订单没有订货明细,不能传入SAP!";
    public static final String ERROR_SAP_ID = " 错误: 未读取到SAP账户信息,请联系系统管理员!";
    public static final String OREDER_TAKE_USER_IS_NULL = "没有分配处理订单的接单员";
    public static final String DEALER_USER_HAVE_NO_LOGIN_PERMISSION = "经销商用户未分配登录权限";
    public static final String ORDER_AND_DETAIL_NOT_MATCH = "订单和明细不匹配";
    public static final String SAP_OREDER_CODE="SapOrder";//sap订单号



    //业务异常提示
    public static final String NOT_YOUR_CART = "必须提交本人的购物车";
    public static final String NOT_FOUND_CART = "没有找到有效的购物车";
    
    public static final String ORDER_NOT_FOUND = "查询的订单不存在";
    
    // 日志信息
    public static final String ORDER_CREATE_SUCCESS = "成功新增了一个订单";
    public static final String ORDER_DELETE_SUCCESS = "成功删除了一个订单";
    public static final String ORDER_UPDATE_SUCCESS = "成功修改了一个订单";
    public static final String ORDER_UPDATE_CHANGE = "修改订单";
    public static final String UPDATE_BEFORE_AMOUNT = "修改前的金额为";
    public static final String UPDATE_BACK_AMOUNT = "修改后的金额为";

    // 系统异常提示
    public static final String UPDATE_STOCK_FAIL = "修改库存和销量失败";

    // 更新店铺产品
    public static final String UPDATE_STORE_PRODUCT_FAIL = "更新店铺产品失败";

    public static final String UPDATE_AMOUNT_SUCCESS = "修改金额成功";
    public static final String UPDATE_AMOUNT_FAIL = "修改金额失败";

    //经销商打款消息提示
    public static final String REMIT_PROXY_MESSAGE = "该打款数据会记录到总代帐上，并传输到总代系统中!";

    //经销商打款校验
    public static final String ERR_REPETITION_CREATE = "请勿重复生成凭证!<br/>";
    public static final String ERR_CREATE_CREDENTIALS = "已生成凭证:";
    public static final String ERR_NOT_CREATE = "不能生成新凭证!<br/>";
    public static final String ERR_NOT_BANK = "错误: 收款银行不存在!";
    public static final String ERR_DELETE_BANK = "  错误: 该收款银行信息在系统已被删除!";
    public static final String ERR_READ_ITEM = "错误: 没有读取到要生成凭证的行项目,不能传入SAP!";
    public static final String ERR_SAP_SUBJECT = "错误:收款银行对应的SAP科目号不能为空!";
    public static final String ERR_ITEM_ERROR = "行项目错误:<br/>";
}
